package com.java2007.hotel.dao;

import com.java2007.hotel.pojo.Admin;

import java.sql.SQLException;

/**
 * @author ghy
 * @version 1.0
 * @date 2021-01-25
 */
public interface AdminDao {

    /**
     * 根据名称查询
     * @param adminName
     * @return
     */
    Admin findByAdminName(String adminName) throws SQLException;

}
